<template>
  <div class="information">
    <!-- 小图标 -->
    <div class="info-icon">
      <div class="info-talk">
        <span class="bi bi-chat-dots"></span>
      </div>
      <div class="info-set">
        <span class="bi bi-nut"></span>
      </div>
    </div>
    <!-- 头像与昵称 -->
    <div class="myperson">
      <div class="portrait">
        <img src="../assets/img/kage.png" alt="" />
      </div>
      <div class="nickname">
        <h3>2022</h3>
        <span>Onion终身会员</span>
      </div>
    </div>
  </div>
</template>

<style lang="less">
.information {
  width: 100%;
  height: 190px;
  z-index: 1;
  background: linear-gradient(to bottom,#9795f0,#fbc8d4);
  &::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 190px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: blur(5px);
    background-color: rgba(255,255,255,0.8);
    z-index: -1;
  }
}
.info-icon {
  height: 50px;
  div {
    width: 60px;
    float: right;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #e7d1f5;
    font-size: 20px;
  }
}
.myperson {
  display: flex;
  .portrait {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: 30px;
    margin-left: 20px;
    background: palevioletred;
    img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
    }
  }
  .nickname {
    width: 150px;
    height: 80px;
    margin-top: 40px;
    margin-left: 10px;
    h3 {
      font-size: 22px;
      color: #fff;
    }
    span {
      width: 120px;
      height: 22px;
      display: block;
      color: #a16ea8;
      background: #fff;
      font-size: 14px;
      text-align: center;
      border-radius: 20px;
      margin-top: 5px;
    }
  }
}
</style>